package com.doangeometrydash.base;


import org.andengine.engine.Engine;
import org.andengine.engine.camera.BoundCamera;

import org.andengine.entity.scene.Scene;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

import com.doangeometrydash.main.GameActivity;
import com.doangeometrydash.manager.ResourcesManager;
import com.doangeometrydash.manager.SceneManager.SceneType;


public abstract class BaseScene extends Scene
{
	protected Engine mEngine;
	protected GameActivity mGameActivity;
	protected ResourcesManager mResourcesManager;
	protected VertexBufferObjectManager vbom;
	protected BoundCamera mCamera;	

	public BaseScene()
    {
        this.mResourcesManager = ResourcesManager.getInstance();
        this.mEngine = this.mResourcesManager.mEngine;
        this.mGameActivity = this.mResourcesManager.gameActivity;
        this.vbom = this.mResourcesManager.vbom;
        this.mCamera = this.mResourcesManager.mCamera;
        createScene();
    }
	public abstract void createScene();

	public abstract void onBackKeyPressed();

	public abstract SceneType getSceneType();

	public abstract void disposeScene();
}
